/*
 * @Author: C.
 * @Date: 2025-05-08 18:09:20
 */
import type { UserInfo } from '@cwind/types';

import { requestClient } from '#/api/request';

/**
 * 获取用户信息
 */
export async function getUserInfoApi() {
  return requestClient.get<UserInfo>('/auth/user-info');
}
